<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>

<div id="technorati">
	
	<%-- 上一页 --%>
	<a href="${href }?pageNo=${pagination.prePageNo }">上一页</a>
	<c:forEach var="index" begin="${pagination.startIndex}" end="${pagination.endIndex}">
		<c:choose>
			<c:when test="${pagination.pageNo == index}">
				<%--
				<a href="${href }?pageNo=${index }" class="current">${index }</a>
				--%>
				<span class="current">${index }</span>		
			</c:when>
			<c:otherwise>
				<a href="${href }?pageNo=${index }">${index }</a>
			</c:otherwise>
		</c:choose>
	</c:forEach>
	<%-- 上一页 --%>
	<a href="${href }?pageNo=${pagination.nextPageNo }">下一页</a>
	(第${pagination.pageNo }/${pagination.totalPage }页 共${pagination.totalRecord}条)
</div>
